package org.rcloud.io.mapper;

import org.rcloud.io.model.Shoot;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShootMapper {
    int deleteByPrimaryKey(String id);

    int insert(Shoot record);

    int insertSelective(Shoot record);

    Shoot selectById(Shoot record);

    List<Shoot> selectByPrimaryKey(Shoot record);

    int updateByPrimaryKeySelective(Shoot record);

    int updateByPrimaryKey(Shoot record);

    List<Shoot> selectAll();

    int selectByUserId(String userid);

    List<Shoot> selectByArticleId(Integer articleId);
}